<!DOCTYPE html>
<!--suppress ALL-->
<html lang="en" xmlns:th="http://www.thymeleaf.org">

<link href="/css/bootstrap.min.css" rel="stylesheet">
<link href="/css/bootstrap-theme.css" rel="stylesheet">
<script src="/js/jquery-1.11.0.min.js"></script>
<script src="/js/bootstrap.min.js"></script>
<head>
    <meta charset="UTF-8">
    <title>显示所有用户</title>
</head>
<body>
<table class="table table-bordered table-hover">
    <caption>用户的基本信息</caption>
    <thead>
    <tr>
        <th>序号</th>
        <th>名字</th>
        <th>部门</th>
    </tr>
    </thead>
    <tr th:each="user:${users}">
        <td th:text="${user.id}"></td>
        <td th:text="${user.username}"></td>
        <td th:text="${user.role}"></td>
    </tr>
</table>

</body>
</html>
